﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TravelGenerator.DataAccessLayer;
using System.Data.Objects;

namespace TravelGenerator.DataAccessLayer
{
    public class ContextManager
    {
        #region Attributes

        private TravelGeneratorEntities context;

        #endregion

        #region Constructor

        /// <summary>
        /// Initializes a new instance of the <see cref="ContextManager"/> class.
        /// </summary>
        public ContextManager()
        {
            this.context = new TravelGeneratorEntities();            
        }

        #endregion

        #region Properties

        /// <summary>
        /// Gets the context.
        /// </summary>
        /// <value>The context.</value>
        public TravelGeneratorEntities TravelGeneratorContext
        {
            get
            {
                return this.context;
            }
        }

        #endregion
    }
}
